package com.ating.demo.Exceptiom;

public class CustomException extends RuntimeException{
    private String code;
    private String msg;

    public CustomException(String code ,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMSG() {
        return msg;
    }

    public void setMSG(String msg) {
        this.msg = msg;
    }
}
